kdd: Opt in to libxc compat xc_map_foreign_* intefaces.
authorIan Campbell <ian.campbell@citrix.com>
Mon, 25 Jan 2016 12:45:32 +0000 (12:45 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 25 Jan 2016 14:18:24 +0000 (14:18 +0000)
commitdc825dde070e2e4a0810ddaaaa08fe5199323581
tree1ee9a91ea69ac15b935bfae8a3f42cb2ab5f12d2
parent2e46e3f2539d026594ec1618e7df2c2bc8785b42
kdd: Opt in to libxc compat xc_map_foreign_* intefaces.

This:

kdd-xen.c: In function 'kdd_access_physical_page':
kdd-xen.c:508:9: warning: implicit declaration of function 'xc_map_foreign_range' [-Wimplicit-function-declaration]
         map = xc_map_foreign_range(g->xc_handle,
         ^
kdd-xen.c:508:13: warning: assignment makes pointer from integer without a cast
         map = xc_map_foreign_range(g->xc_handle,
             ^

was caused by the refactoring of this functionality into
libxenforeignmemory.

Reported by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Tested-by: Olaf Hering <olaf@aepfle.de>
tools/debugger/kdd/Makefile